package org.csu.agrisupply.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
@Data
@TableName("item")
public class Item {
//    private static final long serialVersionUID = 923674267318013728L;
    @TableId(value = "itemId",type = IdType.INPUT)
    private String itemId;
    @TableField(value = "itemName")
    private String itemName;
    @TableField(value = "catId")
    private String categoryId;
    @TableField(value = "rcId")
    private String rcId;
    private double price;
    private int supplier;
    @TableField(value = "descInfo")
    private String description;
    private String image1;
    private String image2;
}
